<?php include('scripts.php'); ?>

<style type="text/css">
.link-blue {
    font-size: 8px;
    color: rgb(0, 93, 154);
}
.link-green {
    font-size: 8px;
    color: rgb(134, 197, 51);
}
.photo img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 6px;
}
</style>

<script type="text/javascript">
var currentScreen = 0;
var arr = new Array();
arr.push("div01");
arr.push("div02");
arr.push("div03");
arr.push("div04a");
arr.push("div04b");
arr.push("div05a");
arr.push("div05b");
arr.push("div06");
arr.push("div07");
$(function() {
    $("#btnPrevious").button({
        icons: {
            primary: "ui-icon-circle-arrow-w"
        }
    }).click(function(event){
        event.preventDefault();
        populatePlan("previous", "");
    });
    $("#btnNext").button({
        icons: {
            primary: "ui-icon-circle-arrow-e"
        }
    }).click(function(event){
        event.preventDefault();
        populatePlan("next", "");
    });
    $(".navcontainer").click(function(event){
        event.preventDefault();
        populatePlan("", $(this).attr("ref"));
    });
});
function populatePlan(action, screenId) {
    if (screenId != "") {
        currentScreen = screenId;
    } else {
        if (action == "next") {
            currentScreen = currentScreen + 1;
        } else if (action == "previous") {
            currentScreen = currentScreen - 1;
        }
    }

    $(".photo").hide(500);
    $("#" + arr[currentScreen]).show(500);

    $(".link-green").removeClass("link-green").addClass("link-blue");
    $("#btnPrevious").show();

    $(".navcontainer[ref='" + currentScreen + "']").removeClass("link-blue").addClass("link-green");
    $("#btnNext").show();
    if (currentScreen == 0) {
        $("#btnPrevious").hide();
    } else if (currentScreen == 8) {
        $("#btnNext").hide();
    }
}
</script>

<h2><?php echo __('Compensation Plan'); ?></h2>
<br>

<div class="ewallet_li" style="padding: 5px;">
    <a target="_self" class="navcontainer link-green " href="#" style="" ref="0">
        <?php echo __('INVESTOR\'S PACKAGE'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="1">
        <?php echo __('RETURN OF INVESTMENT (ROI)'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="2">
        <?php echo __('ENTITLEMENT PRE-IPO SHARE'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="3">
        <?php echo __('FAST START BONUS I'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="4">
        <?php echo __('FAST START BONUS II'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="5">
        <?php echo __('DEVELOPMENT BONUS I'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="6">
        <?php echo __('DEVELOPMENT BONUS II'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="7">
        <?php echo __('MATCHING BONUS'); ?>
    </a>
    &nbsp;&nbsp;
    <img src="/images/arrow_blue_single_tab.gif">
    &nbsp;&nbsp;
    <a target="_self" class="navcontainer link-blue" href="#" style="" ref="8">
        <?php echo __('GOLD WAFERS GIFT'); ?>
    </a>
</div>

<table>
    <tr>
        <td>
            <div id="div01" class="photo" style="display: inline;"><img src="/images/plan/01.JPG"></div>
            <div id="div02" class="photo" style="display: none;"><img src="/images/plan/02.JPG"></div>
            <div id="div03" class="photo" style="display: none;"><img src="/images/plan/03.JPG"></div>
            <div id="div04a" class="photo" style="display: none;"><img src="/images/plan/04a.JPG"></div>
            <div id="div04b" class="photo" style="display: none;"><img src="/images/plan/04b.JPG"></div>
            <div id="div05a" class="photo" style="display: none;"><img src="/images/plan/05a.JPG"></div>
            <div id="div05b" class="photo" style="display: none;"><img src="/images/plan/05b.JPG"></div>
            <div id="div06" class="photo" style="display: none;"><img src="/images/plan/06.JPG"></div>
            <div id="div07" class="photo" style="display: none;"><img src="/images/plan/07.JPG"></div>
        </td>
    </tr>
    <tr>
        <td align="right">
            <button id="btnPrevious" style="display: none">Previous</button>
            <button id="btnNext">Next</button>
        </td>
    </tr>
</table>